package com.dc.pojo;

import com.wordnik.swagger.annotations.ApiModelProperty;

public class SysMenu {
    @ApiModelProperty(value = "")
    private Integer menu_id;
    @ApiModelProperty(value = "编号")
    private String code;
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "0不是叶子，1是叶子")
    private Integer is_leaf;
    @ApiModelProperty(value = "父节点id")
    private Integer fk_parent_id;
    @ApiModelProperty(value = "0不显示1显示")
    private Integer is_show;
    @ApiModelProperty(value = "0不是1是")
    private Integer is_phone;
    @ApiModelProperty(value = "地址")
    private String url;
    @ApiModelProperty(value = "图标")
    private String icon;
    @ApiModelProperty(value = "前端按钮id")
    private String ids;
    @ApiModelProperty(value = "乐观锁")
    private Integer version;

    public Integer getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(Integer menu_id) {
        this.menu_id = menu_id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIs_leaf() {
        return is_leaf;
    }

    public void setIs_leaf(Integer is_leaf) {
        this.is_leaf = is_leaf;
    }

    public Integer getFk_parent_id() {
        return fk_parent_id;
    }

    public void setFk_parent_id(Integer fk_parent_id) {
        this.fk_parent_id = fk_parent_id;
    }

    public Integer getIs_show() {
        return is_show;
    }

    public void setIs_show(Integer is_show) {
        this.is_show = is_show;
    }

    public Integer getIs_phone() {
        return is_phone;
    }

    public void setIs_phone(Integer is_phone) {
        this.is_phone = is_phone;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SysMenu{");
        sb.append("menu_id=").append(menu_id);
        sb.append(", code='").append(code).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", is_leaf=").append(is_leaf);
        sb.append(", fk_parent_id=").append(fk_parent_id);
        sb.append(", is_show=").append(is_show);
        sb.append(", is_phone=").append(is_phone);
        sb.append(", url='").append(url).append('\'');
        sb.append(", icon='").append(icon).append('\'');
        sb.append(", ids='").append(ids).append('\'');
        sb.append(", version=").append(version);
        sb.append('}');
        return sb.toString();
    }
}
